<div id="main_wrap">
	<div class="center_wrap clearfix">
        <h2 class="no_bottom no_top breadcrumb">{$lang50}</h2>
        
        <div id="sidebar_wrap">
            <div id="list_cats">
			<a class="category-txt" href="{$baseurl}/categories/">
	<img alt="Category" src="{$baseurl}/images/tjj_music_we_categories.jpg">
        </a>
                <ul id="ul_categories">
                    {insert name=get_audio_categories assign=listaudiocategories}
        			{section name=o loop=$listaudiocategories}
	    			<li><a href="{$baseurl}/browse/categories/audios/z/{$listaudiocategories[o].CATID}/1/{$listaudiocategories[o].name|stripslashes}">{$listaudiocategories[o].name|stripslashes}</a></li>
        			{/section}
                </ul>
            </div>
            <div class="sky_ad">
            	<center>
                {insert name=get_advertisement value=var AID="2"}
                </center>
            </div>
        </div>
    
        <div class="right col1"> 
        
            <!-- LOOP START -->
            {insert name=get_audio_categories assign=listcats}
        	{section name=o loop=$listcats}
            {if $smarty.section.o.iteration is odd}
            <div class="cat_all_list clearfix">
            {/if}
                <div class="cat_box_big {if $smarty.section.o.iteration is odd}left{else}right{/if}">
                    <h3>
                        <a href="{$baseurl}/browse/categories/audios/z/{$listcats[o].CATID}/1/{$listcats[o].name}">{$listcats[o].name|stripslashes}</a> 
                        <small>{insert name=audio_categories_count value=a assign=atotal catid=$listcats[o].CATID}{$atotal} {$lang875}</small>
                    </h3>
                    <p class="cat_img_big no_bottom">
                    	{insert name=get_audios_from_catid value=a assign=ca lim=3 CID=$listcats[o].CATID}
                        {section name=i loop=$ca}
                        <a href="{$baseurl}/audios/{$ca[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$ca[i].AUDIOID}">
						{capture assign='player'}images/audiothumbs/{$ca[i].AUDIOID}-1{$ca[i].ext}{/capture} 
						{if $player|file_exists}
							<img width="{$max_thumb_width}" height="{$max_thumb_height}" alt="{$ca[i].title|stripslashes}" src="{$athumburl}/{$ca[i].AUDIOID}-1{$ca[i].ext}" />
						{else}
							<img width="{$max_thumb_width}" height="{$max_thumb_height}" alt="{$ca[i].title|stripslashes}" src="{$athumburl}/default.png" />
						{/if}
						{*<img alt="{$ca[i].title|stripslashes|truncate:15:"...":true}" src="{$athumburl}/{$ca[i].AUDIOID}-1{$ca[i].ext}" width="{$max_thumb_width}" height="{$max_thumb_height}" />*}
						</a>
                        {/section}
                    </p>
                </div>
            {if $smarty.section.o.iteration is even OR $smarty.section.o.last}
            </div>
            {/if}
            {/section}
            <!-- LOOP END -->
    
        </div>

    	<div class="clear"></div>
    </div>
</div>

























 
        	{if $error ne ""}
            	<div class="errorMsg3" id="errorMsg3" name="errorMsg2" style="display:''">
					{$error}
				</div>
            {/if}
